package com.zzedu.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zzedu.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 学生信息对象 zz_student
 *
 * @author Mr.Wang
 * @date 2025-02-16
 */
@TableName("zz_student_extend")
public class ZzStudentExtend implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id==>学生ID
     */
    @TableId(type = IdType.INPUT)
    private Long id;

    /**
     * 课时数
     */
    @Excel(name = "姓名")
    private Integer numberOfClassHours;

    @TableLogic(delval = "id")
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNumberOfClassHours() {
        return numberOfClassHours;
    }

    public void setNumberOfClassHours(Integer numberOfClassHours) {
        this.numberOfClassHours = numberOfClassHours;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
